html,body{
  width: 100%;
  height: 100%;
  background-color: #f6f6f6;
}
*{
  margin: 0;
  padding: 0;
}

div,h1,h2,h3,p,span,ul,li,a,button,input,img{
  box-sizing: border-box;
}
ul,ol{
  list-style: none;
}

i,em{
  font-style: normal;
}

/* 网页头部 */
header{
  height: 160px;
  background-color: #fff;
  .header-wrap{
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    // border: 1px solid black;
    .back-index{
      float: left;
      overflow: hidden;
      width: 257px;
      height: 100%;
      // margin-top: 5px;
      padding: 0 20px;  
      margin-right: 95px;
      a{
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        
        .logo{
          img{
            width: 75px;
            height: 75px;
          }
        }
      }
    }

    .search{
      float: left;
      width: 534px;
      height: 100%;
      display: flex;
      align-items: center;
      
      .s-wrap{
        width: 100%;
        height: 46px;
        display: flex;
        align-items: center;
        border: 2px solid #222;
        border-radius: 34px;
        margin-bottom: 15px;
        padding-right: 2px;

        span{
          font-size: 24px !important;
          margin: 0 14px;
          color: #877a73;
        }
        input{
        flex: 1;
        height: 100%;
        border: none;
        font-size: 16px;
        outline: none;
        }

        a{
          width: 135px;
          height: 37PX;
          line-height: 37px;
          text-align: center;
          font-size: 16px;
          background-color: #fee44e;
          border-radius: 34px;
          margin-right: 2px;
          cursor: pointer;
        }
        .s-history{
          display: none;
        }
      }
    } 
    
    
    .tips{
      float: right;
      width: 312px;
      height: 100%;
      display: flex;
      align-items: center;
      padding-left: 28px;
      li{
        width: 78px;
        height: 60px;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;

        img{
          width: 40px;
          height: 40px;
        }

        span{
          font-size: 13px;
          color: #877a73;
        }
      }
    }
  }
}

/* 导航区域 */
.nav{
  width: 100%;
  height: 47px;
  background-color: #43240c;
  
  .nav-wrap{
    width: 1200px;
    height: 100%;
    margin: 0 auto;

    ul{
      display: flex;

      .active{
        background-color: #fee44e;
        color: #43240c;
      }

      >li{
        color: #fff;
        width: 166px;
        text-align: center;
        line-height: 47px;
        font-size: 16px;
        cursor: pointer;

        &:nth-child(1){
          width: 220px;
        }

        &:hover{
          background-color: #fee44e;
        color: #43240c;
        }
      }
    }
  }
}

/* 商品详情 */
.content-container{
  width: 100%;
  height: 100%;
  .content-wrap{
    width: 1200px;
    // height: 100%;
    margin: 0 auto;

    // 商品展示区域
    .content-top{
      width: 100%;
      height: 352px;
      display: flex;
      justify-content: space-between;

      .shop-show{
        width: 914px;
        height: 100%;
        background-color: #fff;
        position: relative;

        .shop-pic{
          width: 282px;
          height: 282px;
          float: left;
          margin: 35px 26px;
          position: relative;
          overflow: hidden;

          img{
            position: absolute;
            width: 282px;
            height: 282px;
            opacity: 0;
          }
          .ac{
            opacity: 1;
          }

          .mask{
            position: absolute;
            left: 0;
            top:0;
            width: 150px;
            height: 150px;
            background-color: rgba(199, 223, 67, 0.5);
            pointer-events: none;
            z-index: 999;
          }

          // 分页器
          .pagination{
            height: 40px;
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            z-index: 5;
            display: flex;
            justify-content: space-between;

            >li{
              width: 25px;
              height: 25px;
              margin-right: 5px;
              background: rgba(		220,20,60, 0.4);
              font-size: 16px;
              line-height: 25px;
              text-align: center;
              color: #ffd;
              cursor: pointer;
            }
            
          }
        }

        // 发大镜区域
        .zoom{
          position: absolute;
          width: 400px;
          height: 282px;
          overflow: hidden;
          right: 200px;
          top: 35px;
          z-index: 1;
          display: none;

          img{
            width: 600px;
            height: 600px;
            // opacity: .9;
            position: absolute;
            top: 0;
            left: 0;
            
          }
        }


        .shop-msg{
          float: right;
          width: 532px;
          height: 282px;
          margin: 35px 46px 0 0;

          .shop-title{
            font-size: 24px;
            color: #e54;
            line-height: 33px;
            margin-top: 5px;
            font-weight: 400;

            .title-icon{
              display: inline-block;
              line-height: 20px;
              font-size: 0;
              vertical-align: middle;
              margin-top: 5px;

              img{
                height: 24px;
                margin-right: 6px;
              }

            }
          }

          .shop-price{
            width: 530px;
            height: 87px;
            font-size: 16px;
            color: #b1a9a5;
            background-color: #f5f5f5;
            overflow: hidden;
            margin-top: 10px;
            padding: 0 16px;
          }

          .original-price{
            text-decoration: line-through;
            margin-top: 16px;
          }

          .current-price{
            font-size: 20px;
            color: #ff4655;
            line-height: 28px;
            position: relative;
           
            .price{
              font-size: 40px;
              font-family: PingFangSC-Semibold;
              font-weight: 600px;
              i{
                font-size: 20px;
                
              }

              .digit{
                font-size: 28px;
              } 
            }

            .coupon-info{
              display: inline-block;
              background-color: #feeeee;
              font-size: 12px;
              text-align: center;
              line-height: 17px;
              margin-bottom: 4px;
              margin-left: 4px;
              vertical-align: middle;
            }

            .sale-num{
              display: table-caption;
              position: absolute;
              font-size: 16px;
              font-weight: 400;
              color: #b1a9a5;
              line-height: 22px;
              right: 16px;
              bottom: 0;
            }
          }
        }

        .last-tips{
          width: 226px;
          height: 80px;
          float: right;
          margin-top: 30px;
          position: relative;

          .expire-date{
            width: 100%;
            height: 30px;
            font-size: 14px;
            color: #fa585a;
            text-align: right;  
          }
          

          .gobuy-btn{
            width: 224px;
            height: 50px;
            line-height: 50px;
            border-radius: 5px;
            text-align: center;
            background-color: #fa585a;
            color: #fff;
            font-size: 18px;
            border: none;
            outline: none;
            cursor: pointer;
          }
        }
      }

      .seller-info{
        width: 276px;
        height: 100%;
        border: 1px solid #fee44e;

        .seller-title{
          width: 100%;
          height: 38px;
          padding: 0 47px;
          background: linear-gradient(180deg,#fee44e,#fff 85%,#fff);
          margin-bottom: 28px;
          >span{
            display: inline-block;
            width: 56px;
            height: 1px;
            background-color: #43240c;
            opacity: .2;
            vertical-align: middle;
          }
          h5{
            display: inline-block;
            text-align: center;
            font-weight: normal;
            font-size: 14px;
            line-height: 38px;
            margin: 0 auto;
          }
        }
      }

      .store-msg{
        width: 150px;
        height: 228px;
        margin: 0 auto;
        // border: 1px solid;

        .store-name{
          width: 100%;
          height: 186px;

          img{
            width: 150px;
            height: 150px;
          }
          h3{
            font-weight: 500;
            font-size: 16px;
            text-align: center;
          }
        }

        .sotre-status{
          width: 100%;
          padding: 0 4px;
          display: flex;
          justify-content: space-between;
          li{
            width: 40px;
            font-size: 14px;
            color: #b1a9a5;
            text-align: center;
            i{
      
              color: #fb9547;
            }
          }
        }
      }
    }

    // 商品细节展示
    .product-details{
      width: 1200px;
      margin: 0 auto;
      margin-top: 7px;
      background-color: #fff;
      overflow: hidden;
      height: 100%;
      .imgs{
        width: 790px;
        height: 100%;
        margin: 83px 285px 6px 27px;;
        
        font-size: 0;
        img{
          width: 100%;
        }
      }
    }

  }
}